#ifndef __FLASH_H
#define __FLASH_H 

#include "main.h"


char FLASH_ErasePage(unsigned int addr,unsigned int len);
char FLASH_DirectWriteData(unsigned int addr, unsigned char* data, unsigned int len);
char FLASH_WriteData(unsigned int addr, unsigned char* data, unsigned int len);
void FLASH_ReadData(unsigned int addr, unsigned char* data, unsigned int len);

void FLASH_Debug(unsigned int addr, unsigned char opType, unsigned int len);
#endif

